package com.wu.mvp.module.main;

import android.os.Bundle;
import android.view.ViewGroup;

import com.wu.mvp.app.base.list.BaseListActivity;
import com.wu.mvp.app.bijection.RequiresPresenter;
import com.wu.mvp.widget.recyclerview.adapter.BaseViewHolder;

@RequiresPresenter(MainPresenter.class)
public class MainActivity extends BaseListActivity<MainPresenter, String> {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setRefreshEnable(false);
    }

    @Override
    public BaseViewHolder<String> getViewHolder(ViewGroup parent, int viewType) {
        return new TestViewHolder(parent);
    }
}
